import React,{Component} from "react"
import $ from "jquery"

export default class JourPicture extends Component {
	constructor(props){
		super(props)
		this.state={

		}
	}
	render(){
		return (
			<div className={this.props.col} style={{position:"relative",padding:"0"}}>
				<img src={this.props.src} alt="图像" width="100%" height={this.props.height} style={{padding:"3px"}}/>
				<div onClick={this.props.showAllPicture} style={{position:"absolute",top:"10%",left:"10%",background:"rgba(215,192,158,0.5)",height:"80%",width:"80%",cursor:"pointer"}}>
					<span className="glyphicon glyphicon-plus" style={{position:"absolute","fontSize":"20px",top:"40%",left:"40%","color":"white"}}></span>
				</div>
			</div>
		)
	}
}